package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

/**
 * 水浒卡 抽卡 日志
 */
@FieldTypeAnnotation(tableName = "t_l_ck_activity_shuihu_draw", desc = "水浒卡抽卡日志", autoSave = true, uploadCk = true)
public class LogShuiHuDraw extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "活动id", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "卡片id")
    private int cardId;

    public LogShuiHuDraw(long userId, int activityId, int cardId) {
        this.userId = userId;
        this.activityId = activityId;
        this.cardId = cardId;
    }

    public long getUserId() {
        return userId;
    }

}
